/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.gemom;

import org.apache.commons.math.distribution.NormalDistributionImpl;
import org.apache.commons.math.MathException;

/**
 *
 * @author Yair Diaz
 */
public class TestNormal {
    
    
       public static void main(String[]args)
       {
           
           NormalDistributionImpl normalprob = new NormalDistributionImpl(151.0,15.0);
           
           
          double d=0; 
           
          try{
              d=normalprob.cumulativeProbability(155.50)-normalprob.cumulativeProbability(119.50);
            }
          catch(MathException me){}
          
          System.out.println(d);
          
          
           
       }
       

}
